echo hash('sha256', $_POST['ppasscode']);
$hash = hash('sha256', 'hello, world!'); var_dump($hash);
<?php echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.'); ?>